package com.huike.Role.dtos;

import lombok.Data;


@Data
public class RolePageDTO {

    //角色名称
    private String roleName;
    //状态
    private String status;
    private Integer page;
    private Integer pageSize;

    public void initialize(){
        if (page == null || page == 0){
            page = 1;
        }
        if (pageSize == null || pageSize == 0){
         pageSize = 10;
        }

    }

}

